<?php

namespace app\admin\model;

use app\common\model\TimeModel;
use app\admin\model\BenefitZYF;
use app\admin\model\BenefitZYZC;
use app\admin\model\EpbpCyl;

class BenefitWellNumber extends TimeModel
{
    //作业费    
    public function zyf()
    {
        return $this->hasMany(BenefitZYF::class,'F_GCMC','well_number')->field('F_GCBH, F_GCMC, F_KGRQ, F_WGRQ, F_DMBTR');
    }

    //材料费
    public function clf()
    {
        return $this->hasMany(BenefitZYZC::class,'F_JH','well_number')->field('F_FLSJ, F_JH, F_JE');
    }

    //产液量
    public function cyl()
    {
        return $this->hasMany(EpbpCyl::class,'JH','well_number')->field('JH, RCYL1, HS, RQ');
    }

}